<?php 
	
    $conn = oci_connect("hospital", "hospital", "//localhost/XE"); 
	$ss = "UPDATE operation SET OPERA_ID = '$_POST[opera_id]', ID = '$_POST[id]','SURGEON_ID = '$_POST[sur]', 
               NURSE_ID = '$_POST[nur]',ANESTHESIST ID = '$_POST[ane]',CHARGES = '$_POST[charges]',OPERATE_ROOM = '$_POST[op_room]',
               PATIENT_ROOM = '$_POST[nur]', HOUR = '$_POST[hr]'
	    WHERE MED_ID = '$_GET[col]' ";
		
	$update= oci_parse($conn,$ss);
	oci_execute($update);
 ?>
 
<html>
<head><meta http-equiv="refresh" content="1; URL=main.php"></head>
<BODY bgcolor = "#ffffff">
 <font color="#ffffff" size="20">Redirecting ...</font>
 </body>
 </html>